package com.ellen.mac.chatdemo.model;

import android.os.Parcelable;

import java.io.Serializable;

/**
 * Created by j on 2017/12/19.
 */

public class AVDataBean implements Serializable {

    /**
     * _lctype : -2
     * _lctext : 图片消息
     * _lcfile : {"url":"http://ac-8Al24sdt.clouddn.com/txvXv0LGqlHnmSLygWaYLaB.png","objId":"5a337f830b6160006ac8a85a","metaData":{"size":512472,"width":639,"height":848,"format":"png"}}
     */
    private int _lctype;
    private String _lctext;
    private LcfileBean _lcfile;

    public int get_lctype() {
        return _lctype;
    }

    public void set_lctype(int _lctype) {
        this._lctype = _lctype;
    }

    public String get_lctext() {
        return _lctext;
    }

    public void set_lctext(String _lctext) {
        this._lctext = _lctext;
    }

    public LcfileBean get_lcfile() {
        return _lcfile;
    }

    public void set_lcfile(LcfileBean _lcfile) {
        this._lcfile = _lcfile;
    }

    public static class LcfileBean {
        /**
         * url : http://ac-8Al24sdt.clouddn.com/txvXv0LGqlHnmSLygWaYLaB.png
         * objId : 5a337f830b6160006ac8a85a
         * metaData : {"size":512472,"width":639,"height":848,"format":"png"}
         */

        private String url;
        private String objId;
        private MetaDataBean metaData;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getObjId() {
            return objId;
        }

        public void setObjId(String objId) {
            this.objId = objId;
        }

        public MetaDataBean getMetaData() {
            return metaData;
        }

        public void setMetaData(MetaDataBean metaData) {
            this.metaData = metaData;
        }

        public static class MetaDataBean {
            /**
             * size : 512472
             * width : 639
             * height : 848
             * format : png
             * duration:13.45
             */

            private int size;
            private int width;
            private int height;
            private String format;
            private double duration;


            public double getDuration() {
                return duration;
            }

            public void setDuration(double duration) {
                this.duration = duration;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public String getFormat() {
                return format;
            }

            public void setFormat(String format) {
                this.format = format;
            }
        }
    }
}
